<?php $test = request::get("test");
switch ($test) {
	case "latest":
	case "browserplatform": ?>
	
<script type="text/javascript">
$(document).ready(function() {
	flash.modal(
		'Browser/Platform test',
		'Please do a general performance and usability scan for your browser / platform combination.\
			We are looking for some specific combinations, please refer to the betatesters blogpost.\
			<br/><br/> beta.vdjo.com v<?php echo config::getInstance()->version["number"]; ?>'
	);
});
</script>
	
	<?php break; 
	case "notest": ?>

<script type="text/javascript">
$(document).ready(function() {
	flash.modal(
		'Welcome to the testpanel',
		'At this moment, no tests are available. Please hold tight, and keep an eye on\
			the <a href="http://vdjobeta.blogspot.com">betatesters blog</a> to find out more about the upcoming tests.\
			<br/><br/> beta.vdjo.com v<?php echo config::getInstance()->version["number"]; ?>'
	);
});
</script>

<?php	break;
	default: ?>

<script type="text/javascript">
$(document).ready(function() {
	flash.modal(
		'Requested test not available.', ''
	);
});
</script>
	 
<?php 	break;
} ?>